package com.suray.wcs.service.pojo.rgv.rgv.protocol.message;

import com.suray.wcs.service.pojo.Rgv;
import com.suray.basic.wcs.utils.typedef.Byte;
import com.suray.wcs.service.pojo.rgv.rgv.protocol.base.RgvBaseMessage;

public class RgvNormalRecMessage extends RgvBaseMessage {
    public RgvNormalRecMessage(Rgv rgv, int length) {
        super(rgv, "正常报文接收");

        for (int i = 0; i < length; i++) {
            baseDatas.add(new Byte("data" + i, "数据"));
        }
    }

    @Override
    public Integer getMessageLife() {
        return null;
    }

    @Override
    public Integer getMessageType() {
        return getValue("报文类型");
    }
}
